from sqlhelp_with import db

# 执行enter【先执行c2，再执行c1】
with db as c1:
    result1 = c1.execute("select * from user")
    print(result1, "1")
    with db as c2:
        result2 = c2.execute("select name from user")
        print(result2, "2")
        print("c2")
    print("c1")
